﻿using Autofac;
using System.Reflection;

namespace webapi.config
{
    public class AutofacModuleRegister : Autofac.Module
    {
        // 重写Load方法
        protected override void Load(ContainerBuilder builder)
        {
            // Interface指的是Interface层
            Assembly interfaceAssembly = Assembly.Load("Interface");
            Assembly serviceAssembly = Assembly.Load("Service");


        }
    }
}
